import metaInterface from '../../meta.interface';
import LIcon from '@/components/public/lIcon/lIcon';
export default {
  path: 'productManage',
  name: 'productManage',
  redirect: '/productManage/productListPage',
  meta: {
    title: '产品管理',
    icon: () => <LIcon type="icon-product" />,
  } as metaInterface,
  children: [
    {
      path: 'productListPage',
      name: 'productListPage',
      component: () => import('@/views/index/productManage/productListPage/productListPage'),
      meta: {
        title: '产品列表',
      } as metaInterface,
    },
    {
      path: 'productAttributesPage',
      name: 'productAttributesPage',
      component: () => import('@/views/index/productManage/productAttributesPage/productAttributesPage'),
      meta: {
        title: '险种属性',
      } as metaInterface,
    },
    {
      path: 'insuranceCompanyPage',
      name: 'insuranceCompanyPage',
      component: () => import('@/views/index/productManage/insuranceCompanyPage/insuranceCompanyPage'),
      meta: {
        title: '保司管理'
      } as metaInterface,
    },
    {
      path: 'productListPage/planList',
      name: 'productListPagePlanList',
      component: () => import('@/views/index/productManage/productListPage/planList/planList'),
      meta: {
        title: '产品计划',
        activeMenu: 'productListPage',
      } as metaInterface,
    }
  ],
}